import * as NS from "../../Common/NetServices";
import * as NSB from "../../Common/NetServiceBase";
import { IsNull } from "../../TYLibrary/Common/GlobalExtend";
import { Wx_XSPPage, V_Product } from "../../Common/Entitys";
import { Log } from "../../TYLibrary/System/Logger";
import { TimeSpan, EventArgs } from "../../TYLibrary/System/System";
import { Config } from "../../Config";
import { Wx_PageData, WXDataClassRuntimeDecorator } from "../../Common/EntityBase";

@WXDataClassRuntimeDecorator()
class AccreditPageData extends Wx_PageData {
    public IsShow: boolean = false;
    public authSetting: number = -1;
}

class IndexPage extends Wx_XSPPage {
    public Data: AccreditPageData = new AccreditPageData();

    /**
     * 初始化页面信息
     * @param {any} options
     * @returns {Promise<void>}
     * @memberof IndexPage
     */
    public async InitData(options: any): Promise<void> {
        // 底部加载
        this.EditTabBar();
    }
}

Page(new IndexPage());
